<template>
	<ul>
		<li v-for="item in list" :key="item.id">
			{{ item.name }}
		</li>
	</ul>
</template>

<script>
export default {
	data() {
		return {
			list: [
				{
					id: 1,
					name: "zs",
				},
				{
					id: 2,
					name: "lisi",
				},
				{
					id: 3,
					name: "wangwu",
				},
			],
		};
	},
};
</script>